<?php
/**
 * @author wangwei
 * @package simplez
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php wp_title('&laquo;', true, 'right'); ?><?php bloginfo('name'); ?> | <?php bloginfo('description'); ?></title>

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<script language="JavaScript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery.min.js" type="text/javascript"></script>
<script>
	$(document).ready(function() {
	/* 添加 class */
	$('#menu ul').addClass('children');
	$('#menu .children').prev('a').addClass('sublink');
	var menuOver = function() {
		$(this).children('ul').show();
	};
	var menuOut = function() {
		$(this).children('ul').hide();
	};
	$('#menu li').hover(menuOver, menuOut);
});
</script>
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> 
<?php wp_head(); ?>

</head>
<body <?php body_class(); ?>>

<div id="header">
	<div id="headerimg">
	<em><a href="/" title="<?php bloginfo('name'); ?>"></a></em>
	<span>
		<?php bloginfo('name'); ?> ｜ 收藏本页 ｜ 设为首页
		<p>
			<form role="search" method="get" id="searchform" action="<?php echo get_option('home'); ?>/" >
			<input type="text" value="" name="s" id="query" />
			<input name="Search" type="submit" id="submit" value="搜索" />
			</div>
			</form>
		</p>
	</span>
	</div>

	<div id="menu-div">
	<ul id="menu">
	<li><a href="<?php echo get_option('home'); ?>/" title="网站首页"><b>网站首页</b></a></li>
	<?php wp_list_categories("hide_empty=0&title_li=&depth=8&number=8"); ?>
	<?php //get_list_pages("title_li=&number=8&sort_column=menu_order"); ?>
	<?php //wp_list_pages("title_li=&sort_column=menu_order"); ?>
	<li style="float:right;"><a href="#" class="shop" title="come in"><b>更多精彩</b></a></li>
	</ul>
	</div>
	<div class="top"></div>
</div>

<div id="page">
